package com.lxk.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

public class Onsale implements Serializable {
    private Integer onsaleId;

    private Integer goodsId;

    private BigDecimal onsalePrice;

    private Integer limitTimes;

    private static final long serialVersionUID = 1L;

    public Integer getOnsaleId() {
        return onsaleId;
    }

    public void setOnsaleId(Integer onsaleId) {
        this.onsaleId = onsaleId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public BigDecimal getOnsalePrice() {
        return onsalePrice;
    }

    public void setOnsalePrice(BigDecimal onsalePrice) {
        this.onsalePrice = onsalePrice;
    }

    public Integer getLimitTimes() {
        return limitTimes;
    }

    public void setLimitTimes(Integer limitTimes) {
        this.limitTimes = limitTimes;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", onsaleId=").append(onsaleId);
        sb.append(", goodsId=").append(goodsId);
        sb.append(", onsalePrice=").append(onsalePrice);
        sb.append(", limitTimes=").append(limitTimes);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}